import { request } from "../../utils/request";

/** 质效评估 台账 列表 POST */
export async function pageLedger(options?: { [key: string]: any }) {
  return request<BaseResponseBean.responsePage<AssessLedgerData.ItemPage[]>>('/assess/ledger/page', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 台账 保存 POST */
export async function selectLedger(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/ledger/select', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 台账 保存 POST */
export async function saveLedger(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/ledger/save', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 台账 更新 POST */
export async function updateLedger(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/ledger/update', {
    method: 'POST',
    data: options || {},
  });
}

/** 质效评估 台账 删除 POST */
export async function deleteLedger(options?: { [key: string]: any }) {
  return request<BaseResponseBean.response<string>>('/assess/ledger/delete', {
    method: 'POST',
    data: options || {},
  });
}
